package com.epam.service;

import java.util.ArrayList;

import com.epam.dao.h2.H2CourseDao;
import com.epam.entity.Course;

public class CoursesList extends ArrayList<Course> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public CoursesList (){
	H2CourseDao h2Coursedao = new H2CourseDao();
	this.addAll( h2Coursedao.selectAll());
	}

}
